package com.yf.mapper;

import com.yf.entity.Subject;

import java.util.List;

public interface SubjectMapper {

    void addSubject(Subject subject);

    void deleteSubject(Integer subjectId);

    void updateSubject(Subject subject);

    Subject getSubjectBySubjectId(Integer subjectId);

    List<Subject> getSubjectList();
}
